<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1" data-dd="https://file.ip.top:9704/pdf/doubleScreenPdfRead?q=5AAB4D548411DBDB9D0022E22368AF9C193D37C20CE705DCC646A0FA1F8DC5D1B73B4EAC71E9D50E1006C80B5DB6CBB757CE21ADBE7D52D9272FB1EB877961DE">
	<title>{{ title }}</title>
	<link rel="manifest" href="{{ proxy_url }}/__js__/my/manifest.json?act=tl">
	<link rel="shortcut icon" href="{{ proxy_url }}/__icon__/favicon.ico">
	<link rel="stylesheet" type="text/css" href="{{ proxy_url }}/__css__/normal.css?act=tl">
	<link rel="stylesheet" type="text/css" href="{{ proxy_url }}/__css__/img-view.css?act=tl">
	<link rel="stylesheet" type="text/css" href="{{ proxy_url }}/__css__/upload.css?act=tl">
	<script src="{{ proxy_url }}/__js__/3rd/toastify-js/toastify.js"></script>
	<script src="{{ proxy_url }}/__js__/my/toast.js"></script>
	<script src="{{ proxy_url }}/__js__/my/normal.js"></script>
</head>
<body>
<div class="content-container">
	<div class="banner">
		<a href="../"><button class="btn-normal" id="btn-back"></button></a>
		<div title="{{ title }}" class="banner-title">{{ title }}</div>
		<button class="btn-normal" id="btn-upload-dlg"></button>
		<div class="meta-hidden">
			<input type="hidden" id="__UPLOAD_URL" value="{{ proxy_url }}/__upload__" />
			<input type="hidden" id="__PATH" value="{{ __path }}" />
			<input type="hidden" id="__ROUTE_FROM" value="{{ __route_from }}" />
		</div>
	</div>
	<div class="mainbody">
		<div id="location-path"><img src="{{ proxy_url }}/__icon__/here.svg" /><span>当前位置</span><div id="path-list">
			<a href="{{ proxy_url }}/">首页</a>
		</div></div><br>

		{% for d in dirs %}
		<div class="sub-dir"><img src="{{ proxy_url }}/__icon__/dir.svg" /><a href="{{ d['u']}}">{{ d['n'] }}</a></div><br>
		{% end %}

		{% for o in others %}
		<div class="file"><img src="{{ proxy_url }}/__icon__/file.svg" /><a href="{{ o['u']}}" download>{{ o['n'] }}</a></div><br>
		{% end %}

		{% for a in audios %}
		<div class="file"><img src="{{ proxy_url }}/__icon__/audio.svg" /><a href="{{ a['u']}}">{{ a['n'] }}</a></div><br>
		{% end %}

		{% for i in images %}
		<img class="img img-lazy" data-src="{{ i['u'] }}?act=pre&qy=10" src="{{ proxy_url }}/__icon__/loading.gif"/>
		{% end %}
	</div>
	<!-- <footer><a href="{{ proxy_url }}/">File Server {{ version }}</a> ©CopyRight 2023</footer> -->
</div>
<div id="upload-container">
	<div class="upload-back-overlay">
		<div class="upload-dlg">
			<div class="input-bar">
				<input id="fileNum" type="text" placeholder="未选择文件" disabled="">
				<label id="btn-select" for="fileInput">选择文件</label>
				<input type="file" id="fileInput" multiple="">
			</div>
			<div id="file-list"></div>
			<div class="grp-btn-bottom">
				<button class="btn-bottom" id="btn-start-upload">开始上传</button>
				<button class="btn-bottom" id="btn-close">关闭</button>
			</div>
		</div>
	</div>
</div>
<div id="image-view-container">
	<div id="image-view-slick-box">
		<div id="image-view-slick-box-bk"></div>
		<div id="image-view-slick-list" draggable></div>
		<button id="image-view-btn-left" class="btn-normal" title="上一张 [←]"></button>
		<button id="image-view-btn-right" class="btn-normal" title="下一张 [←]"></button>
		<p id="image-view-index">0/0</p>
	</div>
	<div id="image-view-toolbar">
		<button id="image-view-btn-mirror" class="btn-normal" title="镜像 [Ctrl + Space]"></button>
		<button id="image-view-btn-rotL" class="btn-normal" title="左转90° [Ctrl + ←]"></button>
		<button id="image-view-btn-rotR" class="btn-normal" title="右转90° [Ctrl + →]"></button>
		<button id="image-view-btn-fullscreen" class="btn-normal" title="全屏显示"></button>
		<button id="image-view-btn-play" class="btn-normal" title="播放幻灯片"></button>
		<button id="image-view-btn-stop" class="btn-normal" title="停止播放"></button>
		<button id="image-view-btn-share" class="btn-normal" title="复制图片分享链接"></button>
		<button id="image-view-btn-close" class="btn-normal" title="关闭 [Esc]"></button>
	</div>
</div>
</body>
<script src="{{ proxy_url }}/__js__/my/image.js"></script>
<script src="{{ proxy_url }}/__js__/my/upload.js"></script>
</html>